local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1
L0_1 = {}
L0_1.group_id = 220106001
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.monster_id = 29040101
L3_1 = {}
L3_1.x = 518.625
L3_1.y = 74.167
L3_1.z = 461.735
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.mark_flag = 16
L1_1[1] = L2_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002
L2_1.gadget_id = 70330048
L3_1 = {}
L3_1.x = 548.03
L3_1.y = 87.81
L3_1.z = 406.29
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 1.822
L3_1.y = 1.42
L3_1.z = 2.656
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.ChestLocked
L2_1.state = L3_1
L2_1.mark_flag = 1
L3_1 = {}
L3_1.config_id = 1003
L3_1.gadget_id = 70330049
L4_1 = {}
L4_1.x = 471.598
L4_1.y = 113.396
L4_1.z = 423.989
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.278
L4_1.y = 343.022
L4_1.z = 355.08
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.ChestLocked
L3_1.state = L4_1
L3_1.mark_flag = 1
L4_1 = {}
L4_1.config_id = 1004
L4_1.gadget_id = 70330050
L5_1 = {}
L5_1.x = 522.27
L5_1.y = 127.4
L5_1.z = 476.04
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 353.003
L5_1.y = 267.852
L5_1.z = 3.454
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.ChestLocked
L4_1.state = L5_1
L4_1.mark_flag = 1
L5_1 = {}
L5_1.config_id = 1005
L5_1.gadget_id = 70330050
L6_1 = {}
L6_1.x = 556.08
L6_1.y = 124.65
L6_1.z = 449.19
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 356.715
L6_1.y = 358.599
L6_1.z = 23.112
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = GadgetState
L6_1 = L6_1.ChestLocked
L5_1.state = L6_1
L5_1.mark_flag = 1
L6_1 = {}
L6_1.config_id = 1006
L6_1.gadget_id = 70330050
L7_1 = {}
L7_1.x = 483.74
L7_1.y = 125.7
L7_1.z = 382.92
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 325.734
L7_1.y = 83.626
L7_1.z = 9.938
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.ChestLocked
L6_1.state = L7_1
L6_1.mark_flag = 1
L7_1 = {}
L7_1.config_id = 1007
L7_1.gadget_id = 70330051
L8_1 = {}
L8_1.x = 539.02
L8_1.y = 77.2
L8_1.z = 516.34
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 352.808
L8_1.y = 268.267
L8_1.z = 73.931
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = GadgetState
L8_1 = L8_1.ChestLocked
L7_1.state = L8_1
L7_1.mark_flag = 1
L8_1 = {}
L8_1.config_id = 1008
L8_1.gadget_id = 70330052
L9_1 = {}
L9_1.x = 559.13
L9_1.y = 81.45
L9_1.z = 498.94
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 336.852
L9_1.y = 46.765
L9_1.z = 353.78
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = GadgetState
L9_1 = L9_1.ChestLocked
L8_1.state = L9_1
L8_1.mark_flag = 1
L9_1 = {}
L9_1.config_id = 1009
L9_1.gadget_id = 70330052
L10_1 = {}
L10_1.x = 497.72
L10_1.y = 80.98
L10_1.z = 514.08
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 345.542
L10_1.y = 351.833
L10_1.z = 328.828
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = GadgetState
L10_1 = L10_1.ChestLocked
L9_1.state = L10_1
L9_1.mark_flag = 1
L10_1 = {}
L10_1.config_id = 1010
L10_1.gadget_id = 70330052
L11_1 = {}
L11_1.x = 468.86
L11_1.y = 79.21
L11_1.z = 434.53
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 351.879
L11_1.y = 270.528
L11_1.z = 344.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = GadgetState
L11_1 = L11_1.ChestLocked
L10_1.state = L11_1
L10_1.mark_flag = 1
L11_1 = {}
L11_1.config_id = 1011
L11_1.gadget_id = 70330053
L12_1 = {}
L12_1.x = 456.24
L12_1.y = 82.88
L12_1.z = 472.39
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 36.307
L12_1.y = 13.571
L12_1.z = 307.568
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = GadgetState
L12_1 = L12_1.ChestLocked
L11_1.state = L12_1
L11_1.mark_flag = 1
L12_1 = {}
L12_1.config_id = 1012
L12_1.gadget_id = 70210106
L13_1 = {}
L13_1.x = 526.934
L13_1.y = 74.192
L13_1.z = 465.003
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_tag = "\232\139\165\233\153\128\233\190\153\231\142\139\231\129\171\231\148\181"
L12_1.persistent = true
L13_1 = {}
L13_1.monster_config_id = 1001
L13_1.resin = 60
L13_1.life_time = 1800
L13_1.take_num = 1
L12_1.boss_chest = L13_1
L13_1 = {}
L13_1.config_id = 1014
L13_1.gadget_id = 70360001
L14_1 = {}
L14_1.x = 500.737
L14_1.y = 74.192
L14_1.z = 457.432
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001013
L2_1.name = "ANY_MONSTER_DIE_1013"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1013"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_1013"
L3_1 = {}
L3_1.config_id = 1001015
L3_1.name = "GADGET_STATE_CHANGE_1015"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_1015"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_1015"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1001
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1002
L5_1 = 1003
L6_1 = 1004
L7_1 = 1005
L8_1 = 1006
L9_1 = 1007
L10_1 = 1008
L11_1 = 1009
L12_1 = 1010
L13_1 = 1011
L14_1 = 1014
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_1013"
L5_1 = "GADGET_STATE_CHANGE_1015"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if L2_2 ~= 1001 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 1014
  L5_2 = GadgetState
  L5_2 = L5_2.Action01
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 1014 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.Action01
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_1015 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1012
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_1015 = L1_1
